package com.huanshi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 用户信息表
 * </p>
 *
 * @author 幻世
 * @since 2023-10-09
 */
@Getter
@Setter
@TableName("ums_member")
@ApiModel(value = "UmsMember对象", description = "用户信息表")
public class  UmsMember implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("用户ID")
        @TableId(value = "user_id", type = IdType.AUTO)
      private Long userId;

      @ApiModelProperty("用户账号")
      private String userName;

      @ApiModelProperty("用户昵称")
      private String nickName;

      @ApiModelProperty("手机号码")
      private String phonenumber;

      @ApiModelProperty("用户性别（0男 1女 2未知）")
      private String sex;

      @ApiModelProperty("头像地址")
      private String avatar;

      @ApiModelProperty("密码")
      private String password;

      @ApiModelProperty("帐号状态（0正常 1停用）")
      private String status;

      @ApiModelProperty("删除标志（0代表存在 2代表删除）")
      private String delFlag;


}
